
#ifndef BARRASTATUS_H_
#define BARRASTATUS_H_
#include <string>
#include "SDL/SDL.h"

using namespace std;

class BarraStatus {
public:
	BarraStatus(int vida,int vidaTotal,int magia,int magiatotal,string nombre);
	SDL_Surface* getStatus();
	SDL_Surface* getEntidadStatus();
	void putpixel(SDL_Surface* screen,string tipo, int x, int y);
	int MemFun();
	void DrawBar(SDL_Surface* screen,string tipo, int param, int paramMax, int xpos, int ypos, int width, int hieght, SDL_Rect* box, SDL_Rect* bgbox, Uint32 color);


private:
	int vida, vidaTotal, magia, magiaTotal;
	string nombre;
};

#endif /* BARRASTATUS_H_*/
